package com.sc.nft.service;

import com.sc.nft.entity.EcologyPoolCommunityServiceRank;
import com.sc.nft.entity.EcologyPoolCommunityServiceRankConf;

import java.util.List;

/**
 * @author PC
 * @description 针对表【sc_ecology_pool_community_service_rank_conf(生态池-服务中心/社区网点榜单配置)】的数据库操作Service
 * @createDate 2024-07-22 13:48:10
 */
public interface EcologyPoolCommunityServiceRankConfService {

    /**
     * 获取正在活动中的榜单
     *
     * @return
     */
    List<EcologyPoolCommunityServiceRankConf> getActiveRankings();

    /**
     * 服务中心/社区网点优秀品牌排行榜
     *
     * @param ecologyPoolCommunityServiceRankConf
     * @return
     */
    List<EcologyPoolCommunityServiceRank> excellentBrandRanking(EcologyPoolCommunityServiceRankConf ecologyPoolCommunityServiceRankConf);

    /**
     * 获取等待自动结算的排行榜
     *
     * @return
     */
    List<EcologyPoolCommunityServiceRankConf> getWaitAutoSettleRankings();

    /**
     * 自动结算
     *
     * @param ecologyPoolCommunityServiceRankConf
     */
    void autoSettle(EcologyPoolCommunityServiceRankConf ecologyPoolCommunityServiceRankConf);


}
